<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="apple-mobile-web-app-capable" content="yes" /> <!-- IOS中Safari允许全屏浏览 -->
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <!-- IOS中safari顶端的状态条的样式 -->
<meta name="apple-touch-fullscreen" content="yes" /> <!-- 删除默认的苹果工具栏和菜单栏 -->
<meta name="format-detection" content="telephone=no,email=no" /> <!-- 忽略将页面中的数字识别为电话号码 -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
</head>
<body>

<!--主体框架开始-->
<div class="All" >
  <!--主体框架开始-->
    <div class="main">

      <div class="newsdetail_title">
       <h2></h2>
       <span></span>
      </div>
      <div class="newsdetail_content"> </div>

    </div>
</div>

<script type="text/javascript">
    var url = '//api.idcm.io:8323/api/Article/GetArticleByKeyword'
    function getQueryString(name) {
      name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
      var regex = new RegExp('[\\?&]' + name + '=([^&#]*)');
      var results = regex.exec(window.location.search);
      return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
    }
    (function ($){
      $(function (){
      var keywords = getQueryString("keywords");
      var languageCode = getQueryString("languageCode");
      $.ajax({
          type:"post",
          url:url,
          cache:true,
          data:{ keywords : keywords,languageCode : languageCode},
          success:function(data){
            if (data && data.StatusCode === '200' && data.Data) {
              $(".newsdetail_title h2").html(data.Data.Title)
              $(".newsdetail_title span").html(data.Data.CreateTime)
              $(".newsdetail_content").html(data.Data.Context)
            }
          }
       })
    })
    })(jQuery)
</script>

<style type="text/css" >
@charset "utf-8";
/*全局样式*/
body, html {
  background: #14141C;
  font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei", sans-serif;
}

em {
  font-style: normal;
}

ul {
  list-style: none;
}

h1, p, h2 {
    font-weight: normal;
}

a, input {
  -webkit-tap-highlight-color: #fff;
}

img {
  border: none;
}

a {
  blr: expression(this.onFocus=this.blur()); /*去掉a标签的虚线框，避免出现奇怪的选中区域*/
}

* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: #fff;
  color: #fff !important;
  background: #000 !important;
  text-decoration: none !important;
  cursor: defaulte !important;
}

.All {
  width: 100%;
  position: relative;
}

.main {
  width: 100%;
  position: absolute;
  left: 0;
}

/*全局样式结束*/
 /*隐私协议 服务条款*/

.newsdetail_title{
  padding:0 20px 20px;
  border-bottom: solid 1px #d6d6d6;
}
.newsdetail_title h2{
  font-size: 26px;
  padding: 20px 0;
}
.newsdetail_title span{
  font-size: 16px;
}
.newsdetail_content{
  padding: 20px;
  line-height: 36px;
  font-size: 16px;
  color: #fff;
}
.newsdetail_content p,
.newsdetail_content a,
.newsdetail_content span,
.newsdetail_content strong{
  font-size: 16px;
}
.newsdetail_content img
{
  max-width: 100%;
  height: auto !important;
}

</style>
</body>
</html>
